package com.scommunity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.scommunity.admin.vo.OwnerQO;
import com.scommunity.domain.Owner;

import java.util.List;

public interface IOwnerService extends IService<Owner> {
    PageInfo<Owner> findPageInfoByCondition(OwnerQO ownerQO, int pageNum, int pageSize);

    List<Owner> getAll();

    void add(Owner owner);

    void update(Owner owner);

    void del(String id);

    int getStatuseById(String id);

    void addOwnerHouse(String ownerId, String houseId);

    void delOwnerHouse(String ownerId, String houseId);

    void updateHouseStatusById(String id, String status);

}
